package com.ybkj.o2o.zhuanche.amqp.docking;

import java.io.Serializable;

/**
 * Created by tanglei on 7/2/2017
 */
public class DdbcMessage implements Serializable{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 无应答.
	 */
	public static String ORDERTYPE_WYD = "WYD";
	
	/**
	 * 调派中.
	 */
	public static String ORDERTYPE_DPZ = "DPZ";
	
	/**
	 * 司机爽约.
	 */
	public static String ORDERTYPE_SS = "SS";
	
	/**
	 * 乘客爽约.
	 */
	public static String ORDERTYPE_CS = "CS";
	
	/**
	 * 调派前乘客取消.
	 */
	public static String ORDERTYPE_QX = "QX";
	
	/**
	 * 调派后乘客取消.	
	 */
	public static String ORDERTYPE_HX = "HX";
	
	/**
	 * 司机取消.
	 */
	public static String ORDERTYPE_SQ = "SQ";
	
	/**
	 * 完成.
	 */
	public static String ORDERTYPE_WC = "WC";
	
	private String orderNo; //订单号
	
	private String orderType; //订单状态  WYD无应答 DPZ调派中 SS司机爽约 CS乘客爽约 QX调派前乘客取消 HX调派后乘客取消 SQ司机取消 WC完成
	
	private String passengerName; //乘客称谓

	private String passengerGender; //性别 MALE:男 FEMALE:女
	
	private String passengerTel; //乘客电话 11位
	
	private String useLocale; //乘客用车地点
	
	private double useLon; //乘客用车地点经度
	
	private double useLat; //乘客用车地点纬度
	
	private String useTime; //预计用车时间 yyyy-MM-dd HH:mm:ss
	
	private String orderTime; //乘客下单时间

	private String destination; //目的地
	
	private double destLon; //目的地经度
	
	private double destLat; //目的地纬度
	
	private String passengerDemand; //乘客备注
	
	private String isVoice; //是否是语音订单    Y:语音订单  N:文本订单
	
	private String voiceUrl; //语音地址
	
	private String identityNumber; //乘客身份证号 该乘客类型为残疾人时该字段必填  18位
	
	private String passengerType; //乘客类型 GP:正常乘客   DP:残疾乘客 
	
	private String dispatchTime; //派单时间
	
	private String bespeakType; //预约类型
	
	private String adminCode; //上车地点行政区划编号
	
    private String driverName; //司机姓名
    
    private String driverIdCode; //网约车驾驶员证号
    
    private String driverTel; //司机电话
    
    private String vehicleLicense; //派单车辆车牌号
    
    private double vehicleLon; //派单时车辆经度
	
	private double vehicleLat; //派单时车辆纬度
	
	private double destVehLon; //完成时车辆经度
	
	private double destVehLat; //完成时车辆纬度
	
	private String onTime; //上车时间
	
	private String offTime; //下车时间
	
	private double passengerMil; //载客里程(公里) 精确至小数点后2位
	
	private double noneMil; //空驶里程
	
	private double passengerTime; //载客时间(分钟) 精确至小数点后2位
	
	private double cash; //现金支付金额  无填0 精确至小数点后2位
	
	private double elePay; //电子支付金额  无填0 精确至小数点后2位
	
	private double posPay; //Pos机支付金额 无填0 精确至小数点后2位
	
	private double paid; //实收金额=应收金额-优惠金额 无填0 精确至小数点后2位
	
	private double receivable; //应收金额 无填0 精确至小数点后2位
	
	private double callCharge; //电召费 无填0 精确至小数点后2位
	
	private double extraCharge; //附加费 无填0 精确至小数点后2位
	
	private double rushAddCharge; //高峰时段时间加价金额 无填0 精确至小数点后2位
	
	private double nightAddCharge; //夜间时段里程加价金额 无填0 精确至小数点后2位
	
	private String transPriceType; //选择运价类型
	
	private double waitingTime; //等待时间(分钟) 精确至小数点后2位
	
	private double realVehicleLon; //车辆实际出发地点经度 BD02 精确至小数点后6位
	
	private double realVehicleLat; //车辆实际出发地点纬度  BD02 精确至小数点后6位
	
	private String realOnLocation; //实际上车地点
	
	private String realOffLocation; //实际下车地点
	
	private double bargain; //优惠金额 无填0
	
	private String posAgency; //Pos机收单机构
	
	private String ePay; //电子支付机构
	
	private String calStatus; //结算状态 0未结算 1已结算
	
	private String calTime; //结算时间
	
	private String billStatus; //发票状态 0未开 1已开
	
	private double otherExtraCharge; //其他附加费用 无填0 精确到小数点后2位
	
	private double dynamicsAddCharge; //动态加价金额 无填0 精确到小数点后2位
	
	private String appKey;
	
	private String type = Type.MOREQ_DDBC;
	
	public String getType() {
		return type;
	}

	
	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getPassengerName() {
		return passengerName;
	}

	public void setPassengerName(String passengerName) {
		this.passengerName = passengerName;
	}

	public String getPassengerGender() {
		return passengerGender;
	}

	public void setPassengerGender(String passengerGender) {
		this.passengerGender = passengerGender;
	}

	public String getPassengerTel() {
		return passengerTel;
	}

	public void setPassengerTel(String passengerTel) {
		this.passengerTel = passengerTel;
	}

	public String getUseLocale() {
		return useLocale;
	}

	public void setUseLocale(String useLocale) {
		this.useLocale = useLocale;
	}

	public double getUseLon() {
		return useLon;
	}

	public void setUseLon(double useLon) {
		this.useLon = useLon;
	}

	public double getUseLat() {
		return useLat;
	}

	public void setUseLat(double useLat) {
		this.useLat = useLat;
	}

	public String getUseTime() {
		return useTime;
	}

	public void setUseTime(String useTime) {
		this.useTime = useTime;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public double getDestLon() {
		return destLon;
	}

	public void setDestLon(double destLon) {
		this.destLon = destLon;
	}

	public double getDestLat() {
		return destLat;
	}

	public void setDestLat(double destLat) {
		this.destLat = destLat;
	}

	public String getPassengerDemand() {
		return passengerDemand;
	}

	public void setPassengerDemand(String passengerDemand) {
		this.passengerDemand = passengerDemand;
	}

	public String getIsVoice() {
		return isVoice;
	}

	public void setIsVoice(String isVoice) {
		this.isVoice = isVoice;
	}

	public String getVoiceUrl() {
		return voiceUrl;
	}

	public void setVoiceUrl(String voiceUrl) {
		this.voiceUrl = voiceUrl;
	}

	public String getIdentityNumber() {
		return identityNumber;
	}

	public void setIdentityNumber(String identityNumber) {
		this.identityNumber = identityNumber;
	}

	public String getPassengerType() {
		return passengerType;
	}

	public void setPassengerType(String passengerType) {
		this.passengerType = passengerType;
	}

	public String getBespeakType() {
		return bespeakType;
	}

	public void setBespeakType(String bespeakType) {
		this.bespeakType = bespeakType;
	}

	public String getAdminCode() {
		return adminCode;
	}

	public void setAdminCode(String adminCode) {
		this.adminCode = adminCode;
	}

	public String getTransPriceType() {
		return transPriceType;
	}

	public void setTransPriceType(String transPriceType) {
		this.transPriceType = transPriceType;
	}


	public String getOrderType() {
		return orderType;
	}


	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}


	public String getDispatchTime() {
		return dispatchTime;
	}


	public void setDispatchTime(String dispatchTime) {
		this.dispatchTime = dispatchTime;
	}


	public String getDriverName() {
		return driverName;
	}


	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}


	public String getDriverIdCode() {
		return driverIdCode;
	}


	public void setDriverIdCode(String driverIdCode) {
		this.driverIdCode = driverIdCode;
	}


	public String getDriverTel() {
		return driverTel;
	}


	public void setDriverTel(String driverTel) {
		this.driverTel = driverTel;
	}


	public String getVehicleLicense() {
		return vehicleLicense;
	}


	public void setVehicleLicense(String vehicleLicense) {
		this.vehicleLicense = vehicleLicense;
	}


	public double getVehicleLon() {
		return vehicleLon;
	}


	public void setVehicleLon(double vehicleLon) {
		this.vehicleLon = vehicleLon;
	}


	public double getVehicleLat() {
		return vehicleLat;
	}


	public void setVehicleLat(double vehicleLat) {
		this.vehicleLat = vehicleLat;
	}


	public double getDestVehLon() {
		return destVehLon;
	}


	public void setDestVehLon(double destVehLon) {
		this.destVehLon = destVehLon;
	}


	public double getDestVehLat() {
		return destVehLat;
	}


	public void setDestVehLat(double destVehLat) {
		this.destVehLat = destVehLat;
	}


	public String getOnTime() {
		return onTime;
	}


	public void setOnTime(String onTime) {
		this.onTime = onTime;
	}


	public String getOffTime() {
		return offTime;
	}


	public void setOffTime(String offTime) {
		this.offTime = offTime;
	}


	public double getPassengerMil() {
		return passengerMil;
	}


	public void setPassengerMil(double passengerMil) {
		this.passengerMil = passengerMil;
	}


	public double getNoneMil() {
		return noneMil;
	}


	public void setNoneMil(double noneMil) {
		this.noneMil = noneMil;
	}


	public double getPassengerTime() {
		return passengerTime;
	}


	public void setPassengerTime(double passengerTime) {
		this.passengerTime = passengerTime;
	}


	public double getCash() {
		return cash;
	}


	public void setCash(double cash) {
		this.cash = cash;
	}


	public double getElePay() {
		return elePay;
	}


	public void setElePay(double elePay) {
		this.elePay = elePay;
	}


	public double getPosPay() {
		return posPay;
	}


	public void setPosPay(double posPay) {
		this.posPay = posPay;
	}


	public double getPaid() {
		return paid;
	}


	public void setPaid(double paid) {
		this.paid = paid;
	}


	public double getReceivable() {
		return receivable;
	}


	public void setReceivable(double receivable) {
		this.receivable = receivable;
	}


	public double getCallCharge() {
		return callCharge;
	}


	public void setCallCharge(double callCharge) {
		this.callCharge = callCharge;
	}


	public double getExtraCharge() {
		return extraCharge;
	}


	public void setExtraCharge(double extraCharge) {
		this.extraCharge = extraCharge;
	}


	public double getRushAddCharge() {
		return rushAddCharge;
	}


	public void setRushAddCharge(double rushAddCharge) {
		this.rushAddCharge = rushAddCharge;
	}


	public double getNightAddCharge() {
		return nightAddCharge;
	}


	public void setNightAddCharge(double nightAddCharge) {
		this.nightAddCharge = nightAddCharge;
	}


	public double getWaitingTime() {
		return waitingTime;
	}


	public void setWaitingTime(double waitingTime) {
		this.waitingTime = waitingTime;
	}


	public double getRealVehicleLon() {
		return realVehicleLon;
	}


	public void setRealVehicleLon(double realVehicleLon) {
		this.realVehicleLon = realVehicleLon;
	}


	public double getRealVehicleLat() {
		return realVehicleLat;
	}


	public void setRealVehicleLat(double realVehicleLat) {
		this.realVehicleLat = realVehicleLat;
	}


	public String getRealOnLocation() {
		return realOnLocation;
	}


	public void setRealOnLocation(String realOnLocation) {
		this.realOnLocation = realOnLocation;
	}


	public String getRealOffLocation() {
		return realOffLocation;
	}


	public void setRealOffLocation(String realOffLocation) {
		this.realOffLocation = realOffLocation;
	}


	public double getBargain() {
		return bargain;
	}


	public void setBargain(double bargain) {
		this.bargain = bargain;
	}


	public String getPosAgency() {
		return posAgency;
	}


	public void setPosAgency(String posAgency) {
		this.posAgency = posAgency;
	}


	public String getePay() {
		return ePay;
	}


	public void setePay(String ePay) {
		this.ePay = ePay;
	}


	public String getCalStatus() {
		return calStatus;
	}


	public void setCalStatus(String calStatus) {
		this.calStatus = calStatus;
	}


	public String getCalTime() {
		return calTime;
	}


	public void setCalTime(String calTime) {
		this.calTime = calTime;
	}


	public String getBillStatus() {
		return billStatus;
	}


	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}


	public double getOtherExtraCharge() {
		return otherExtraCharge;
	}


	public void setOtherExtraCharge(double otherExtraCharge) {
		this.otherExtraCharge = otherExtraCharge;
	}


	public double getDynamicsAddCharge() {
		return dynamicsAddCharge;
	}


	public void setDynamicsAddCharge(double dynamicsAddCharge) {
		this.dynamicsAddCharge = dynamicsAddCharge;
	}

	
}
